<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    div,span{
      width: 200px;
      height: 200px;
      background: red;
      display: inline-block;
    }
  </style>
</head>
<body>
  <div>this is div</div>
  <span>this is span</span>
  <!-- 
    IE6,7不支持块级元素的display:inline-block属性
    解决方法：无
   -->
</body>
</html>